﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using DHJ.Cost.TreeStructure.Dto;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace DHJ.Cost.TreeStructure
{
    public interface ITreeStructureAppService : IApplicationService
    {

        Task<ListResultDto<TreeNodeListDto>> GetAllRoot();
        Task<ListResultDto<TreeNodeListDto>> GetChildren(string code);
        Task<TreeNodeDto> MoveTreeNode(MoveTreeNodeInput input);
        Task<TreeNodeDto> CreateTreeNode(TreeNodeInput input);
        Task DeleteTree(EntityDto<long> input);
        Task DeleteTreeNode(EntityDto<long> input);




    }
}
